<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>
    
    function fn(a, b){
        console.log(this);
        console.log(a, b);
        return "xixixi"
    }

    fn("张三", "李四");
    var cRes = fn.call("hello", "哈哈哈", "嘿嘿黑" );
    console.log(cRes);
    
    var aRes = fn.apply("world", [123, 456])
    console.log(aRes);
    
    var res = fn.bind("hahaha");
    console.log(res)
    res("abc", "xyz");
    console.log(res)
</script>
</html>